﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using EzDesk.EventAggregation;
using System.Windows;

namespace EzDesk.DesktopClient.Event
{

    public class MainWindowFocusArgs
    {
        public object MainWindow { get; set; }
    }

    public class MainWindowFocusEvent : CompositeEvent<MainWindowFocusArgs>
    {
        private static MainWindowFocusEvent _instance;
        public static MainWindowFocusEvent Instance
        {
            get
            {
                if (_instance == null)
                {
                    _instance = EventAggregator<MainWindowFocusEvent>.GetEvent();
                }
                return _instance;
            }
        }
    }
}
